﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace WebAPI.Service1.Model
{
    public class RequestEntity
    {
        [RegularExpression(RegularExpressionEnum.GUIDFormat, ErrorMessage = "{0}必须为GUID格式:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")]
        [Display(Name = "唯一键【LxGUID】")]
        public string LxGUID { get; set; }

        [RegularExpression(RegularExpressionEnum.GUIDFormat, ErrorMessage = "{0}必须为GUID格式:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")]
        [Display(Name = "唯一键【TaskGUID】")]
        public string TaskGUID { get; set; }

        [Display(Name = "【Lxr】")]
        [StringLength(200)]
        public string Lxr { get; set; }

        [Display(Name = "【LxDate】")]
        [StringLength(200)]
        public string LxDate { get; set; }

        [Display(Name = "【TalkContent】")]
        [StringLength(200)]
        public string TalkContent { get; set; }

        [Display(Name = "【Djr】")]
        [StringLength(200)]
        public string Djr { get; set; }

        [Display(Name = "【Type】")]
        public string Type { get; set; }
    }
}